how projectile motion is effected due to gravity